#include <microhttpd.h>

#include "httpd.h"

int main(int argc, char *argv[])
{
    struct MHD_Daemon *d;
    d = MHD_start_daemon(MHD_USE_THREAD_PER_CONNECTION, 8080, NULL, NULL, &accesshandler, NULL ,MHD_OPTION_END);
    while(1);
    MHD_stop_daemon(d);
    return 0;
}